csr_to_msr Function

public function csr_to_msr(a, err) result(rst)

Converts a CSR matrix to an MSR matrix.

Arguments

Type IntentOptional Attributes Name
class(csr_matrix), intent(in) :: a

The CSR matrix to convert.

class(errors), intent(inout), optional, target :: err

The error object to be updated.

Return Value type(msr_matrix)

The MSR matrix.